import { moduleFor, test } from 'ember-qunit';

moduleFor('adapter:application', 'Unit | Adapter | application', {
  // Specify the other units that are required for this test.
  // needs: ['serializer:foo']
});

// Replace this with your real tests.
test('it exists', function(assert) {
  var adapter = this.subject();
  var namespace = "api/v1";
  var result = adapter.buildURL("tree", null, {}, "query", {name: "mytree", __restsearch: "findByName"});
  console.log(result);
  var url = "api/v1/trees/search/findByName"
  assert.ok(adapter);
});
